from Models import db

class School(db.Model):
    __tablename__ = 'School'

    id = db.Column(db.Integer, primary_key=True, info='??id')
    parent_id = db.Column(db.Integer, server_default=db.FetchedValue(), info='???id')
    name = db.Column(db.String(30), server_default=db.FetchedValue(), info='????')
    code = db.Column(db.String(30), info='???????')
    address = db.Column(db.String(255), info='????')